/*
 * OrderDetailProgressHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 订单详情，进度 */
public class OrderDetailProgressHolder extends ViewHolder {
    public TextView mTvStatus;
    public TextView mTvOrderSn;
    public LinearLayout mLlInfo;
    public TextView mTvInfo;
    public TextView mTvTime;

    @Override
    protected void initView(View rootView) {

        mTvStatus = (TextView) rootView.findViewById(R.id.tv_status);
        mTvOrderSn = (TextView) rootView.findViewById(R.id.tv_order_sn);
        mLlInfo = (LinearLayout) rootView.findViewById(R.id.ll_info);
        mTvInfo = (TextView) rootView.findViewById(R.id.tv_info);
        mTvTime = (TextView) rootView.findViewById(R.id.tv_time);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_order_detail_progress;
    }
}
